package com.afdor.rws.event.driven.channel.local.observer;

import com.afdor.rws.event.driven.entities.Event;

import java.util.EventListener;

/**
 * 事件监听器
 *
 * @author 悭梵
 * @date Created in 2018-08-08 15:12
 */
public interface ObserverEventListener extends EventListener {

    /**
     * 事件发生后的回调方法
     *
     * @param event
     */
    void onEvent(Event event);
}
